from django.conf.urls import patterns, url
from django_logs import views

urlpatterns = patterns('',
	url(r'^$',views.index, name='index'),
	url(r'reports', views.reports, name='reports'),
	url(r'logs/populate',views.populate_access_log, name='populate_access_log'),
	url(r'sites/create',views.create_site,name='create_site'),
 	url(r'sites', views.sites, name='sites'),
	#url(r'sdetails/(\d{1})', views.sitesdetails, name='sdetails'),
	url(r'sitedetails/([^$])', views.sitesdetails, name='sitedetails'),
	url(r'reportdetails/([^$])', views.reportdetails, name='reportdetails'),
	url(r'ips', views.ips, name='ips'),
)
